conditionally run useeffect

welcome to shbcf.ru